<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .one{
            width: 400px;
            height: 100px;
            border: 2px solid black;
            overflow: hidden;
            margin: 0 auto;
        }
        ul{
            width:800px ;
            animation: myfirst 2s linear  infinite ;
        }
        li{
            float: left;
        }
        ul li img{
            width: 100px;
            height: 100px;
        }
        .one:hover ul{
            animation-play-state: paused;
        }
        @keyframes myfirst {
            to{
                transform: translateX(-400px);
            }
        }
    </style>
</head>
<body>
    <div class="one">
        <ul class="hello">
              <li class="parent"><img src="./华为6.jpg" alt="" ></li>
              <li><img src="./华为5.jpg" alt=""></li>
              <li><img src="./华为5.jpg" alt=""></li>
              <li><img src="./华为6.jpg" alt=""></li>
              <li><img src="./华为6.jpg" alt=""></li>
              <li><img src="./华为5.jpg" alt=""></li>
              <li><img src="./华为5.jpg" alt=""></li>

    </div>

    <script src="./pmd.js"></script>
</body>
</html>